You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > SetCol Method > Matrix.SetCol Method ([In] TDenseMtxVec, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.SetCol Method ([In] TDenseMtxVec, int)

Copies values from vector to matrix column.

Syntax
C#
Visual Basic
public TMtx SetCol([In] TDenseMtxVec Vec, int Col);

Copy all Vec elements to the calling matrix Col column. The Complex property of the calling matrix is adjusted automatically. An exception is raised, if array bounds are overrun.

var A: Matrix; V: Vector; begin A.Size(2,1,True); V.SetIt(True,[1,2, 2,4]); // complex vector A.SetCol(V,0); end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!